/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package thienphuc.patient.dao;

import java.util.List;
import thienphuc.patient.dto.BenhAn;
import thienphuc.patient.dto.NhanVien;
import thienphuc.patient.dto.ThongTinBenhNhan;

/**
 *
 * @author QuocDat
 */
public interface BenhAnDAO extends Dao<BenhAn, Integer> {
    public final static String BENH_AN_MA_BENH_AN = "maBenhAn";
    public final static String BENH_AN_TRIEU_CHUNG_BY_CHUAN_DOAN = "trieuChungByChuanDoan";
    public final static String BENH_AN_TRIEU_CHUNG_BY_TRIEU_CHUNG = "trieuChungByTrieuChung";
    public final static String BENH_AN_THONG_TIN_BENH_NHAN = "thongTinBenhNhan";
    public final static String BENH_AN_NHAN_VIEN = "nhanVien";
    public final static String BENH_AN_NGAY = "ngay";
    public final static String BENH_AN_NHIET_DO = "nhietDo";
    public final static String BENH_AN_HUYET_AP = "huyetAp";
    public final static String BENH_AN_MACH_TIM = "machTim";
    public final static String BENH_AN_CHIEU_CAO = "chieuCao";
    public final static String BENH_AN_CAN_NANG = "canNang";
    public final static String BENH_AN_GHI_CHU = "ghiChu";
    public final static String BENH_AN_PHI_KHAM_CHUA_BENH = "phiKhamChuaBenh";
    public final static String BENH_AN_DON_THUOCS = "donThuocs";
    public final static String BENH_AN_DICH_VU_LAM_SAN = "dichVuLamSans";
    
    /**
     * Find BenhAn By ThongTinBenhNhan
     * @param thongTinBenhNhan
     * @return
     * @throws Exception 
     */
    List<BenhAn> findByThongTinBenhNhan(ThongTinBenhNhan thongTinBenhNhan) throws Exception;
    
    /**
     * Find BenhAn by NhanVien
     * @param nhanVien
     * @return
     * @throws Exception 
     */
    List<BenhAn> findByNhanVien(NhanVien nhanVien) throws Exception;
    
}
